/*
编写 : Hexh
时间 : 2012-5-22 10:43:18
*/
using System;
using System.Collections.Generic;
using FsCarInfo.Core.Entity;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;

namespace FsCarInfo.Facade
{
	/// <summary>
	///	 the interface of IFsIntlVehicleFacade
	/// </summary>
	public interface IFsIntlVehicleFacade : IDomainFacade
	{

		FsIntlVehicle Get(string id);

		FsIntlVehicle Load(string id);

		void SaveOrUpdate(FsIntlVehicle entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<FsIntlVehicle> GetAll();

		IList<FsIntlVehicle> GetPlist(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

	}
}
